package de.hsowl.tod4a.global.logging;

/**
 * Logging interface. Only console logging. No log file.
 * 
 * @author Sebastian Witt
 * 
 */
public interface Log {

	/**
	 * Logs a debug message
	 * 
	 * @param msg
	 *            - message to log
	 */
	public void debug(String msg);

	/**
	 * Logs a vendor message
	 * 
	 * @param msg
	 *            - message to log
	 */
	public void vendor(String msg);

	/**
	 * Logs a debug message
	 * 
	 * @param msg
	 *            - message to log
	 * @param e
	 */
	public void debug(String msg, Throwable e);

	/**
	 * Logs a vendor message
	 * 
	 * @param msg
	 *            - message to log
	 * @param e
	 */
	public void vendor(String msg, Throwable e);

	/**
	 * Logs an error message
	 * 
	 * @param msg
	 *            - message to log
	 */
	public void error(String msg);

	/**
	 * Logs an error message
	 * 
	 * @param msg
	 *            - message to log
	 * @param e
	 */
	public void error(String msg, Throwable e);

	/**
	 * Logs a info message
	 * 
	 * @param msg
	 *            - message to log
	 */
	public void information(String msg);

	/**
	 * Logs a info message
	 * 
	 * @param msg
	 *            - message to log
	 * @param e
	 */
	public void information(String msg, Throwable e);

}
